<?php
namespace library\exceptions;

/**
 * Description of 404Exception
 *
 * @author Damian Jóźwiak
 */
class Exception404 extends BaseException {
    public function __toString() {
        $result='';
        if (DEBUG) {
            $result.=parent::__toString ();
        }
       return $result;
    }
    public function __construct($message="", $code=0, $previous=null) {
        parent::__construct($message, $code, $previous);
        $this->serverCode=404;
    }
}
